<template>
  <view class="bar-section" v-if="address && address.id">
    {{ address.detail }}
  </view>
</template>

<script>
export default {
  data() {
    return {};
  },
  props: {
    address: {
      type: Object,
      default: function () {
        return null;
      },
    },
  },
};
</script>

<style>
.bar-section {
  width: 100%;
  height: 72rpx;
  background: #fbf8d9;
  padding-left: 31rpx;
  display: flex;
  align-items: center;
  color: #de6a1c;
  font-size: 26rpx;
  font-weight: 500;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
</style>
